export const mutations = {
    setToken(state, token) {
        state.token = token
    },
    setMenu(state, menu) {
        state.menu = menu
    },
    logout(state){
        state.menu = []
        state.token = ''
    }
}